<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:cc="http://java.sun.com/jsf/composite"
	xmlns:modal="http://java.sun.com/jsf/composite/components/modalPesquisa"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jstl/core">

<cc:interface>
	<cc:attribute name="headerGrid"></cc:attribute>
	<cc:attribute name="colunas" required="true"></cc:attribute>
	<cc:attribute name="value" required="true"></cc:attribute>
	<cc:attribute name="header" required="true"></cc:attribute>
	<cc:attribute name="widgetVar" required="true"></cc:attribute>
</cc:interface>
<cc:implementation>

	<p:dialog header="#{cc.attrs.header}" fixedCenter="true" effect="FADE"
		effectDuration="0.3" widgetVar="#{cc.attrs.widgetVar}" modal="true">
		<modal:modal colunas="#{cc.attrs.colunas}" value="#{cc.attrs.value}"></modal:modal>
	</p:dialog>

</cc:implementation>
</html>